package com.yingsheng.bi.hks.dto.job;

import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 幼儿照护工单填写
 */
@ApiModel(value = "育儿管家工单填写请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class ChildButlerAddReq extends HksTransReq {

    //主表
    @ApiModelProperty(value = "联系人",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "联系方式",required = true)
    @NotBlank
    private String phone;

    @ApiModelProperty(value = "工作地点",required = true)
    @NotBlank
    private String workPlace;

    @ApiModelProperty(value = "招聘岗位",required = true)
    @NotBlank
    private String position;

    @ApiModelProperty(value = "薪资待遇",required = true)
    @NotBlank
    private String salary;

    @ApiModelProperty(value = "门店ID")
    private String storesId;


    //子表
    @ApiModelProperty(value = "宝宝年龄",required = true)
    @NotBlank
    private String childAge;

    @ApiModelProperty(value = "宝宝性别",required = true,notes = "M男F女")
    @NotBlank
    private String childSex;

    @ApiModelProperty(value = "人口",required = true)
    @NotBlank
    private String familySize;

    @ApiModelProperty(value = "服务时间开始")
    private String serviceTimeBeg;

    @ApiModelProperty(value = "服务时间结束")
    private String serviceTimeEnd;

    @ApiModelProperty(value = "家庭面积",required = true)
    @NotBlank
    private String houseArea;

    @ApiModelProperty(value = "服务期望",required = true)
    @NotBlank
    private String serviceHope;

    @ApiModelProperty(value = "期望宗教信仰",required = true)
    @NotBlank
    private String faith;

    @ApiModelProperty(value = "期望到岗时间",required = true)
    @NotBlank
    private String postTime;

    @ApiModelProperty(value = "服务区域（到小区）",required = true)
    @NotBlank
    private String workPlaceParticular;

    @ApiModelProperty(value = "其他要求",required = true)
    private String remark;

    @ApiModelProperty(value = "是否住家")
    private String isAllDay;

}
